//
//  UILabel+Extension.swift
//  1微博界面
//
//  Created by ll on 15/10/16.
//  Copyright © 2015年 itcast. All rights reserved.
//

import UIKit

extension UILabel{

    convenience init(title: String,fontSize: CGFloat = 14,color: UIColor = UIColor .darkGrayColor()) {
        self.init()
        
        text = title
        textColor = color
        font = UIFont.systemFontOfSize(fontSize)
        
        numberOfLines = 0
        textAlignment = .Center
        
    }
}
